package design.patterns.structural.adapter.classadapter;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/4/1 17:15
 */
public class Adapter extends TypeB implements TypeC{

    public String provideTypeC() {
        String s = provideTypeB();
        String replace = s.replace("B", "C");

        return  replace;
    }
}
